int *unscaled_height);
gboolean gdk_surface_handle_event (GdkEvent *event);
+void gdk_surface_show (GdkSurface *surface);
/*****************************************
* Interfaces provided by windowing code *
void
gdk_surface_show (GdkSurface *surface)
{
- g_return_if_fail (surface->surface_type != GDK_SURFACE_POPUP);
-
gdk_surface_show_internal (surface, TRUE);
}
surface->y = 0;
}
-/**
- * gdk_surface_resize:
- * @surface: a #GdkSurface
- * @width: new width of the surface
- * @height: new height of the surface
- *
- * Resizes @surface; for toplevel surfaces, asks the window manager to resize
- * the surface. The window manager may not allow the resize. When using GTK,
- * use gtk_window_resize() instead of this low-level GDK function.
- *
- * Surfaces may not be resized below 1x1.
- */
-void
-gdk_surface_resize (GdkSurface *surface,
- gint width,
- gint height)
-{
- GDK_SURFACE_GET_CLASS (surface)->toplevel_resize (surface, width, height);
-}
-
static gboolean
gdk_popup_surface_present (GdkPopup *popup,
int width,
GDK_AVAILABLE_IN_ALL
GdkDisplay * gdk_surface_get_display (GdkSurface *surface);
GDK_AVAILABLE_IN_ALL
-void gdk_surface_show (GdkSurface *surface);
-GDK_AVAILABLE_IN_ALL
void gdk_surface_hide (GdkSurface *surface);
-GDK_AVAILABLE_IN_ALL
-void gdk_surface_resize (GdkSurface *surface,
- gint width,
- gint height);
GDK_AVAILABLE_IN_ALL
void gdk_surface_set_input_region (GdkSurface *surface,